netfilter: xt_socket: fix a typo in socket_mt_destroy()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Feb 2022 02:30:43 +0000 (18:30 -0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 25 Feb 2022 17:15:16 +0000 (17:15 +0000)
commit3761519096e6f8d78266510e5d19b8dbc8356bc8
tree11d7a2883f97a738db19ef9fa57aa934b8125ec5
parent2093e9b534a31b04ddd501de8781146bd890ae69
netfilter: xt_socket: fix a typo in socket_mt_destroy()

Origin: https://git.kernel.org/linus/75063c9294fb239bbe64eb72141b6871fe526d29

Calling nf_defrag_ipv4_disable() instead of nf_defrag_ipv6_disable()
was probably not the intent.

I found this by code inspection, while chasing a possible issue in TPROXY.

Fixes: de8c12110a13 ("netfilter: disable defrag once its no longer needed")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name netfilter-xt_socket-fix-a-typo-in-socket_mt_destroy.patch
net/netfilter/xt_socket.c